@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Arial", sans-serif;
    scroll-behavior: smooth;
}

h1 {
    color: #124265;
    display: block;
    font-size: 2em;
    margin-block-start: 0.67em;
    margin-block-end: 0.67em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    unicode-bidi: isolate;
}

span {
    font-size: .9rem;
    color: #757373;
}

i {
    color: #ffffff;
}

a {
    text-decoration: none;
    color: #fff;
}

h6 {
    font-size: 1.1rem;
    color: rgb(24, 24, 24);
}

nav {
    display: flex;
    width: 100%;
    background-color: #fff;
    flex-direction: row;
    justify-content: space-between;
    padding: 1vw 8vw;
    align-items: center;
    border-bottom: 1px solid color-mix(in srgb, #2487ce, transparent 80%);
    color: #ffffff;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.15);
    position: fixed;
    z-index: 999;
}

nav .navigation {
    display: flex;
}

nav img {
    width: 50px;
    cursor: pointer;
}

nav .navigation ul {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

nav .navigation ul li {
    list-style: none;
    margin-left: 30px;
}

nav .navigation ul li a {
    color: #124265;
    padding: 18px 5px;
    font-size: 18px;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    display: flex;
    text-decoration: none;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;

}

nav .navigation ul li a:hover {
    color: #2487ce;
}

.logo {
    display: flex;
    max-height: 47px;
}

.logo h1 {
    padding-top: 5.3px;
    padding-left: 6px;
    white-space: nowrap;
    font-family: "Raleway", sans-serif;
    font-size: 31px;
    margin: 0;
    font-weight: 300;


}

/*@media (max-width: 1000px) {
    nav {
        padding: 15px 20px;
    }

    #menu-btn {
    display: initial;
    }

    #menu-close {
    display: initial;
    font-size: 1.6rem;
    color: #124265;
    padding: 30px 0 20px 20px;
    }

    nav .navigation ul {
        position: absolute;
        top: 0;
        right: -220px;
        width: 220px;
        height: 100vh;
        border: 1px solid rgba(17,20,104,0.45);
        background-color: #fff;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        transition: 0.3s;
    }

    nav .navigation ul:active {
        right: 0;
    }

    nav .navigation ul li {
        padding: 20px 0 5px 40px;
        margin-left: 0;
    }

    nav .navigation ul li a {
        color: #124265;
    }
}

#menu-btn {
    width: 30px;
    height: 30px;
    display: none;
}

#menu-close {
    display: none;
}
/* sec1 */

#home {
    background-image: url(images/main\ png.jpeg);
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-left: 20rem;
    padding-right: 20rem
}

@media (max-width: 720px) {
    #home {
        padding-left: 1rem;
        padding-right: 1rem;
        background-image: url(images/مشروع\ جديد\ 77.png);
    }

}

#home h2 {
    color: #0060a5;
    font-size: 2.8rem;
    line-height: 65px;
    margin-top: 15px;
    font-weight: 600;
    line-height: 55px;
    justify-content: center;
    text-shadow: 0 0 100px #ffffff8a
}

#home p {
    width: 50%;
    margin-top: 10px;
    text-shadow: 0 0 1px #ffffff;
    color: color-mix(in srgb, #ffffff, transparent 20%);
    line-height: 25px;
    font-size: 1.0rem;
    /*white-space: nowrap;*/
    text-align: center;
    display: contents;
    /*letter-spacing: 1px;*/
}

#home a {
    text-decoration: none;
    font-size: 0.9rem;
    padding: 13px 35px;
    background-color: #fff;
    font-weight: 600;
    border-radius: 5px;
}

#home .btn {
    margin-top: 30px;
    white-space: nowrap;
}

#home a.blue {
    color: #fff;
    background-color: #154f79;
    transition: 0.3s;
}

#home a.blue:hover {
    background-color: #2487ce;
}

.learnmore a {
    color: white;
    background-color: #154f79;
    font-size: 14px;
    padding: 1px 1px;
    margin: 0 0 0 1px;
    border-radius: 4px;
}

#about {
    padding: 5vw 8vw 8px 8vw;
    text-align: center;
}

#about .about-base {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    grid-gap: 2rem;
    margin-top: 50px;
    padding-bottom: 80px;
}

#about .about-box {
    background: #f9f9ff;
    text-align: start;
    padding: 23px;

}

#about .about-box i {
    font-size: 2.3rem;
    color: rgb(44, 44, 80);
}

#about .about-box h3 {
    font-size: 1.2 rem;
    font-weight: 600;
    color: rgb(44, 44, 80);
    padding: 13px 0 7px 0;

}

#about .about-box p {
    font-size: 1 rem;
    font-weight: 400;
    color: rgb(70, 70, 87);
}

footer {
    background-color: #124265;
    color: #fff;
}

.footer_info {
    width: 90%;
    margin: 0 auto;
    display: flex;
    padding: 50px 0;
}

.footer_info .footer_width {
    padding: 0 18px;
}

.footer_info h2 {
    margin-bottom: 20px;
}

.about,
.contact {
    width: 40%;
}

.link {
    width: 20%;
}

.social-media {
    margin-top: 30px;
}

.social-media ul {
    display: flex;
}

.social-media ul il a {
    display: inline-block;
    margin-right: 50px;
    width: 50px;
    height: 50px;
    padding-top: 12px;
    background-color: transparent;
    border: 1px solid #fff;
    text-align: center;
}

.social-media ul li a:hover {}

.link ul li {
    margin-bottom: 15px;
    font-size: 20px;
    display: flex;
    justify-content: flex-end;
}

.link ul li a:hover {
    color: #2487ce;
}

.contact a {
    margin-right: 6px;
}

.contact ul li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    flex-direction: row-reverse;
}

.contact ul li span {
    margin-right: 15px;
}

.copy-right {
    padding: 15px 0;
    text-align: center;
    background-color: #124265;
}

@media screen and (max-width:992px) {

    .about,
    .contact {
        width: 35%;
    }

    .link {
        width: 30%;
    }
}

@media screen and (max-width:930px) {

    .about,
    .contact,
    .link {
        width: 100%;
        margin-bottom: 30px;
    }

    .footer_info {
        flex-direction: column;
    }
}

@media screen and (max-width:1080px) {
    .footer_width p {
        font-size: 14px;
    }
}


@media (max-width:1270px) {
    #home h2 {
        font-size: 2rem;
        line-height: 37px;
    }
}


@media (max-width:1200px) {
    nav {
        padding: 1.8vw 3vw;

    }

    nav .navigation ul li a {
        padding: 18px 0px;
        font-size: 17;

    }

    nav img {

        width: 39px;
    }

    .logo h1 {
        font-size: 26px;
    }
}

@media (max-width:712px) {
    #home {
        padding-left: 2rem;
        padding-right: 2rem;
    }

}

@media (max-width:500px) {
    .logo h1 {
        font-size: 19px;
        padding-top: 9px;
    }

}


@media (max-width:1080px) {
    #home {
        padding-left: 10rem;
        padding-right: 10rem;
    }

}

@media (min-width:300px) {
    #home {
        padding-left: 1rem;
        padding-right: 1rem;
    }

}

@media (min-width: 859px) {
    #home {
        padding-left: 16rem;
        padding-right: 16rem;
    }
}

.arabic {
    color: #ffffff;
    background-color: #124265;
    border-radius: 10px;
    padding: 10px;
    white-space: nowrap;
    font-size: 12px;
    transition: 0.3s;
}

.arabic-li {
    padding-top: 21px;
    display: flow;
    padding-left: 15px;
}

.arabic:hover {
    color: #124265;
    background-color: #bfbcf6be;
}



/*                            






*/

body {
    font-family: "Almarai", sans-serif;
    background-color: #ffffff;
    color: #1f2937;
    margin: 0;
    padding: 0;
}

/* Added styles for mobile menu */
.menu-btn {
    /* This style hides the menu button on larger screens */
    display: none;
    font-size: 24px;
    cursor: pointer;
}

@media (max-width: 968px) {

    /* Show the menu button only on smaller screens */
    .menu-btn {
        display: block;
    }

    .arabic-li {
        padding-top: 2px;
    }

    nav .navigation ul {
        display: none;
        /* Initially hide the navigation links */
        flex-direction: column;
        position: absolute;
        top: 48px;
        left: 0;
        background: #fff;
        width: 100%;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

    nav .navigation ul.active {
        /* Show the navigation links when active */
        display: flex;
    }
}

/* End of added styles */
.container {
    max-width: 1200px;
    margin: 51px auto 92px auto;
    padding: 0 40px;
}

.container h2 {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    color: #1c6395;
    padding-bottom: 50px;
}

.videos-wrapper {
    display: flex;
    flex-direction: column;
    gap: 5rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .videos-wrapper {
        flex-direction: row;
        justify-content: center;
        gap: 4rem;
    }
}

.video-card {
    flex: 1 1 45%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    outline: none;
}

.video-container {
    position: relative;
    width: 100%;
    border-radius: 0.375rem;
    overflow: hidden;
}

.video-container img {
    width: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0.375rem;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #ffffff;
    border-radius: 9999px;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
        0 4px 6px -4px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    z-index: 10;
}

.play-button i {
    color: #2563eb;
    font-size: 1.875rem;
}

.text-section {
    max-width: 480px;
    margin-top: 1.5rem;
    color: #1c6395;
    text-align: center;
}

.text-section h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

p.description {
    color: #4b5563;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    font-weight: 500;
    text-align: right;

}

.description p {
    text-align: left;
}

.list-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem 2.5rem;
    color: #4b5563;
    font-size: 0.75rem;
    line-height: 1.3;
    justify-items: start;
    justify-items: end;
}

@media (min-width: 400px) {
    .list-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .list-grid p {
        font-size: 11px;
    }
}

.list-item {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-direction: row-reverse;
}

.list-item i {
    color: #2563eb;
    flex-shrink: 0;
    font-size: 1rem;
    transform: scale(-1, 1);
    margin-top: 0;
    line-height: 1;
}

.list-grid p {
    font-size: 12px;
    margin: 0;
    text-align: left;
}

/* Modal styles */
.modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 50;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 720px;
    background: #000;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.modal-content video {
    width: 100%;
    height: auto;
    display: block;
}

.modal-close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 9999px;
    width: 32px;
    height: 32px;
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111;
    transition: background-color 0.3s ease;
    z-index: 60;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 1);
}